package com.hjxr.xmgl.web.domain;


import com.hjxr.framework.aspectj.lang.annotation.Excel;
import com.hjxr.sysadmin.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 事件执行记录对象 evnet_history
 *
 * @author hjxr
 * @date 2021-12-02
 */
public class EvnetHistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 执行的SQL */
    @Excel(name = "执行的SQL")
    private String executeSql;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public String getExecuteSql() {
        return executeSql;
    }

    public void setExecuteSql(String executeSql) {
        this.executeSql = executeSql;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sql", getExecuteSql())
            .append("createTime", getCreateTime())
            .toString();
    }
}
